// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// 引入css
import './assets/css/reset.css'
import api from '@/assets/js/api.js'

import { Dropdown,DropdownMenu,DropdownItem,Icon,Radio,Message,Button,Input,Collapse,CollapseItem,Select,Option,Upload,Badge } from 'element-ui'


Vue.use(Dropdown)
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(Icon)
Vue.use(Radio)
// Vue.use(Message)
Vue.use(Button)
Vue.use(Input)
Vue.use(Collapse)
Vue.use(CollapseItem)
Vue.use(Select)
Vue.use(Option)
Vue.use(Upload)
Vue.use(Badge)

Vue.prototype.$message = Message

Vue.config.productionTip = false
Vue.prototype.$api = api

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
